quit -sim
set env(ALTERA_SIM)     F:/crack/altera18.0_modelsim10.5_lib
vmap   altera18.0_modelsim10.5_lib   $env(ALTERA_SIM)

#工程所需要的文件
vlog -sv -incr ../bench/spi_master_core_tb.sv
vlog -incr ../src/spi_master_core.v

vsim -t ps -novopt -L altera18.0_modelsim10.5_lib work.spi_master_core_tb

log -r /*
radix 16

do wave.do

run 20us
